package com.shop.cloud.common.core.feign.entity;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

import java.util.List;

@Data
public class FeignPageParam<T> {

    private Page page;

    private List<OrderItem> orders;

    private T etity;

    public Page getPage() {
        page.setOrders(this.orders);
        return page;
    }
}
